<%--
  Created by IntelliJ IDEA.
  User: Administrator
  Date: 2018/12/7
  Time: 16:45
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>



<%--查看关联订单--%>
<div class="winBox associatedOrder">
    <!-- ngInclude: box -->
    <div class="winBox1 " ng-include="box"><!-- 说明： 操作记录模板 -->
        <div class="winBox5 ">
            <div class="relatOrder">
                <!-- 说明：查看关联订单
                  tems3模板下的loanBefore > boxTem操作记录模板 -->

                <!-- 头部 -->
                <div class="headerBox">
                    <span class="headerSpan">查看关联订单</span>
                    <i class="iconfont icon-wrong headerIcon" ng-click="F.showWin('hide')"></i>
                </div>
                <!-- 内容 -->
                <div class="contentBox">
                    <!-- 中间列表 -->
                    <div class="centerBox">
                        <!-- 列表表单 -->
                        <div class="beInput">
                            <div id="contract_head_date" style="display: inline-block"></div>
                            <div id="orderState_content_tpl" style="display: inline-block"></div>

                            <!-- <div class="se-re">
                              <select ng-model="data.loan_way">
                                <option value="">贷款方式</option>
                                <option value="1">红本抵押</option>
                                <option value="2">红本质押</option>
                              </select>
                              <span class="se-po se-pointput"></span>
                            </div> -->
                            <input type="text" class="productName" placeholder="产品名称"/>
                            <button id="selectOrderSerach">
                                <i class="iconfont icon-sousuo"></i>
                            </button>
                        </div>

                        <!-- 客户列表 -->
                        <table class="table table-hover tabBe" type="max-height: 400px;overflow-y: scroll;">
                            <thead>
                            <tr>
                                <td>姓名</td>
                                <td>创单时间</td>
                                <td>借款编号</td>
                                <td>所属产品</td>
                                <td>期限</td>
                                <td>借款金额</td>
                                <td>业务员</td>
                                <td>部门</td>
                                <td>状态</td>
                            </tr>
                            </thead>
                            <tbody id="dataList_content">
                            </tbody>

                            <script type="x-handlebars-template" id="dataList_content_tpl">
                                {{#if content.list}}
                                {{#each content.list}}
                                <tr data-order_id="{{order_id}}"
                                    data-node_id="{{node_id}}" data-s_id="{{s_id}}"
                                    data-product_id="{{product_id}}"
                                    class="table-tr-hover orderList">
                                    <!-- ngIf: i.s_id<13 -->
                                    <td ng-if="i.s_id<13" class=" ">{{pName}}</td>
                                    <!-- end ngIf: i.s_id<13 -->
                                    <td class="">{{found_time}}</td>
                                    <td class="">{{loan_number}}</td>
                                    <td class="">{{product_name}}</td>
                                    <td class="">{{#IF_EQ repayment_way '4'}}{{at_id}}天{{else}}{{term}}{{/IF_EQ}}</td>
                                    <td class="">￥{{#thounsandBit apply_money}}{{/thounsandBit}}</td>
                                    <td class="">{{admin_name}}</td>
                                    <td class="">
                                        {{#if dpt_name2}}
                                        {{dpt_name2}}&gt;
                                        {{/if}}
                                        {{#if dpt_name1}}
                                        {{dpt_name1}}&gt;
                                        {{/if}}
                                        {{#if dpt_name}}
                                        {{dpt_name}}
                                        {{/if}}
                                    </td>
                                    <!-- 状态 -->
                                    <td class="">
                                        {{s_name}}
                                    </td>
                                </tr>
                                {{/each}}
                                {{else}}
                                <tr ng-if="data.content.list.length ==0" class="">
                                    <td colspan="16">暂时找不到数据</td>
                                </tr>
                                {{/if}}
                            </script>
                        </table>
                    </div>

                    <!-- 底部分页 -->
                    <div class="footerBox" style="display: block;">
                        <div class="footerBtn">
                        </div>
                        <div class="footerRight">
                            <!-- <div class="footerLeft">
                              <span>首页</span>
                              <i>上一页</i>
                              <ul class="pageUl">
                                <li ng-click="click(i)" ng-repeat="i in items">1</li>
                              </ul>
                              <i>下一页</i>
                              <span>尾页</span>
                            </div> -->
                            <!-- ngInclude: pageBox -->
                        </div>
                    </div>

                </div>
            </div>
        </div>
    </div>
</div>


<%--更换业务员--%>
<div class="winBox replacement" >

    <!-- ngInclude: box -->
    <div class="winBox1 " ng-include="box"><!-- 说明： 操作记录模板 -->
        <div class="winBox5 ">
            <div class="changeMan">
                <!-- 说明：更换业务员 -->
                <!-- 头部 -->
                <div class="headerBox">
                    <span class="headerSpan">更换业务员</span>
                    <i class="iconfont icon-wrong headerIcon" ng-click="F.showWin('hide')"></i>
                </div>
                <!-- 内容 -->
                <div class="assBox">
                    <div class="assHeader">
                        <span>*</span>选择业务员
                        <!-- 组件 提醒是否有下一选择审核人员-->
                        <!-- ngInclude: componentMsg --><span class="noPeople hide "><span
                            ng-show="componentShow.people" style="color: #E55A5B;margin-left: 7px;">没有可选审核人员！</span>
</span>
                    </div>
                    <div id="admin_content"></div>
                    <script type="x-handlebars-template" id="admin_content_tpl">
                        <div class="se-re">
                            <select ng-focus="F.remHight()" ng-model="param.admin_id"
                                    ng-class="{'error':redErr.admin_id}"
                                    class="ng-pristine ng-untouched ng-valid ng-not-empty">
                                <option value="">选择业务员</option>
                                {{#each list.content}}
                                <option {{#IF_EQ id ..
                                /admin_id}}selected{{/IF_EQ}} ng-repeat="item in selesman" value="{{id}}"
                                class=" ">{{realName}}
                                </option>
                                {{/each}}
                            </select>
                            <span class="se-po se-box"></span>
                        </div>
                    </script>
                    <button id="changeCommitBtn">
                        确认提交
                    </button>
                </div>
            </div>
        </div>
    </div>
</div>

<%--拉黑名单--%>
<div class="winBox blacklist">
    <!-- 加载弹窗盒子容器 -->
    <!-- ngInclude: box -->
    <div class="winBox1 " ng-include="box"><!-- 说明： 操作记录模板 -->
        <div class="winBox5 ">
            <div class="beblack">
                <div class="headerBox">
                    <span class="headerSpan">拉黑警告</span>
                    <i class="iconfont icon-wrong headerIcon" ng-click="F.showWin('hide')"></i>
                </div>
                <!-- 内容 -->
                <div class="deleBox">
                    <!-- 中间列表 -->
                    <!--下面未此弹窗自定义样式  其他同样的不采用-->
                    <div class="deleteTit" style="text-align: left;">

                        <i class="iconfont icon-tips2" style="margin-top: 27px;"></i>
                        <span style="margin-left:50px;margin-top: -50px;" class="alone-set">您确定要所选的用户<ii
                                class="D-black">“<em class="mingem  block_list_name">王军龙</em>”</ii>拉黑吗？如果拉黑成功，则不会被允许参加新的借款申请！</span>
                        <!--<span style="margin-left:50px;margin-top: -50px;" class="all-set" >您确定要所选的用户拉黑吗？如果拉黑成功，则不会被允许参加新的借款申请！</span>-->
                    </div>
                    <div class="beizhu"><span>*</span>输入原因</div>
                    <textarea ng-focus="remHight()" ng-class="{'error':redErr.lockedContent}"
                              ng-model="param.lockedContent"
                              class="ng-pristine ng-untouched ng-valid ng-empty ng-valid-maxlength block_list_content"></textarea>
                    <!-- 底部 -->
                    <div class="deleFooter">
                        <div class="deleBtn">
                            <button class="black_list_commit">确认提交</button>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>

<%--恢复正常--%>
<div class="winBox coverUsual_winBox">
    <!-- 加载弹窗盒子容器 -->
    <!-- ngInclude: box --><div class="winBox1 ng-scope" ng-include="box"><!-- 说明： 操作记录模板 -->
    <div class="winBox5 ng-scope">
        <div class="notBlack">
            <div class="headerBox">
                <span class="headerSpan">恢复正常</span>
                <i class="iconfont icon-wrong headerIcon" ng-click="F.showWin('hide')"></i>
            </div>
            <!-- 内容 -->
            <div class="deleBox">
                <!-- 中间列表 -->
                <div class="deleteTit">
      <span class="first">
        <i class="iconfont icon-tips2"></i>
      </span>
                    <span>您确定要所选的用户<ii class="D-black">“<em class="mingem ng-binding coverName"></em>”</ii>恢复正常吗？</span>
                </div>
                <div class="beizhu"><span>*</span>输入原因</div>
                <textarea ng-focus="remHight()" class="cover_content" maxlength="120"></textarea>
                <!-- 底部 -->
                <div class="deleFooter">
                    <div class="deleBtn">
                        <button class="cover_commit">确认提交</button>
                    </div>
                    <div class="zishu">
                        <i id="zishuxians">0</i>/120字
                    </div>
                </div>
            </div>
        </div>
    </div></div>
</div>